/**
 * Created by XianTao on 2016/11/17
 * <p/>
 * Copyright (c) 2015-2015
 * Apache License
 * Version 2.0, January 2004
 * http://www.apache.org/licenses/
 */
package org.lego.biz.wechat.lechuan.base.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.lego.jpa.base.entity.UUIDEntity;

import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;

/**
 * 礼品表
 */

@Entity
@Table(name = "le_prize")
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
public class Prize extends UUIDEntity {
    private String name; // 礼品名字
    private String vendor;  // 礼品供货商
    private String description; // 礼品描述
    @Lob
    private String tips;   // 关于礼品的友情提示
    @Lob
    private String usageUrl;    //礼品使用方法介绍
    private Integer expiredDay;  // 有效时间（天）
}
